package com.ruoyi.supplier.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 售后单图片记录业务对象
 *
 * @author ruoyi
 * @date 2023-09-18
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class RefundImageBo extends BaseEntity {

    /**
     * 主键id
     */
    @NotNull(message = "主键id不能为空", groups = { EditGroup.class })
    private Integer refundImageId;

    /**
     * 售后单id
     */
    @NotNull(message = "售后单id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer refundId;

    /**
     * 图片id(关联文件记录表)
     */
    @NotNull(message = "图片id(关联文件记录表)不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long imageId;


}
